<!DOCTYPE html>
<html lang="zh-cn">
<#include "include/resource-head.ftl"/>
<body>
<#include "include/common-header.ftl"/>
<div class="content-index col-center-block no-padding">
    <div id="carousel" class="carousel slide" data-ride="carousel">

        <ol class="carousel-indicators">
            <li data-target="#carousel" data-slide-to="0" class="active"></li>
            <li data-target="#carousel" data-slide-to="1"></li>
            <li data-target="#carousel" data-slide-to="2"></li>
        </ol>

        <div class="carousel-inner" role="listbox">
            <div class="item active">
                <img src="/data/imgs/index/c1.jpg" alt="...">
                <div class="carousel-caption">
                    123
                </div>
            </div>
            <div class="item">
                <img src="/data/imgs/index/c2.jpg" alt="...">
                <div class="carousel-caption">
                    456
                </div>
            </div>
            <div class="item">
                <img src="/data/imgs/index/c3.jpg" alt="...">
                <div class="carousel-caption">
                    789
                </div>
            </div>
        </div>

        <a class="left carousel-control" href="#carousel" role="button" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
            <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#carousel" role="button" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
            <span class="sr-only">Next</span>
        </a>
    </div>

    <div class="note-box text-center">
        <div class="box-title">
            <h4>平台特点</h4>
        </div>
        <ul>
            <li><i class="icon icon-star text-red">&nbsp;</i>私人定制</li>
            <li><i class="icon icon-star text-red">&nbsp;</i>礼品多多</li>
        </ul>
        <a href="/join" class="btn btn-success" style="padding: 8px 32px;">注册账号</a>
        <br/>
        <br/>
        <a href="/join" class="btn btn-warning" style="padding: 8px 32px;">申请商家</a>
    </div>
</div>
<div class="container col-center-block">
    <h2 class="item-list-title">推荐礼品</h2>
    <div class="item-list ">
    <#list list as item>
        <div class="item">
            <a href="/goods/detail/${item.id}"><img src="/data/${item.icon}"></a>
            <div class="item-info">
                <div class="clearfix item-info-row">
                    <span class="pull-left text-red font-16"><strong>￥${item.price?string('#0.00')}</strong></span>
                    <span class="pull-right color-grey">销售${item.times!0}件</span>
                </div>
                <div class="clearfix item-info-row font-12">${item.descript!}</div>
                <!--<div class="clearfix item-info-row"><i class="icon icon-list text-red">&nbsp;</i>
                    <a href="#" class="color-grey">111</a>
                </div>-->
            </div>
        </div>
    </#list>
    </div>
</div>
<#include "include/common-foot.ftl"/>
</body>
<#assign cur='index'/>
<#include "include/resource-script.ftl"/>
<script>
</script>
</html>